"""
Sample requests:

curl -v http://127.0.0.1:8000/hello
"""

import asyncio

from fastapi import FastAPI

app = FastAPI()


@app.get("/hello")
async def hello():
    await asyncio.sleep(1)
    return "Hello asyncio world!"


if __name__ == "__main__":
    import uvicorn

    uvicorn.run("hello_async:app", reload=True)
